package com.sales.dao;


import org.apache.ibatis.annotations.Mapper;
import org.comple.erp.pojo.sales.InvoiceRegister;

import java.util.List;
import java.util.Map;

/**
* @author 舒尚
* @description 针对表【invoiceregister】的数据库操作Mapper
* @createDate 2025-11-13 08:43:47
* @Entity generator.domain.Invoiceregister
*/
@Mapper
public interface InvoiceRegisterMapper {

    int deleteByPrimaryKey(String invoiceNumber);

    int insertSelective(InvoiceRegister record);

    InvoiceRegister selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(InvoiceRegister record);

    List<InvoiceRegister> selectAll(Map<String, Object> params);

    List<InvoiceRegister> selectByInvoiceNumber(String invoiceNumber);

    int selectCount(String invoiceNumber);
}
